package com.shuaishuai.ketaiheadlines.biz;

import com.shuaishuai.ketaiheadlines.dao.UsersMapper;
import com.shuaishuai.ketaiheadlines.pojo.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Userbiz {

    @Autowired(required = false)
    private UsersMapper usersMapper;

    public Users login(Users users){
        return usersMapper.select(users);
    }
}
